home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
thinkref
/
archive
/
THINKPascalUH2.1.sea
/
THINKPas Univ Hdr 2.1
/
Interfaces
/
Files.p
< prev
next >
Wrap
Text File
|
1995-09-12
|
66KB
|
2,181 lines
{ Converted with MPW2TPas Tuesday, September 12, 1995 6:07:56 PM }
{
File: Files.p
Contains: File Manager (HFS and MFS) Interfaces.
Version: Technology: System 7.5
Package: Universal Interfaces 2.1 in “MPW Latest” on ETO #18
Copyright: © 1984-1995 by Apple Computer, Inc.
All rights reserved.
Bugs?: If you find a problem with this file, use the Apple Bug Reporter
stack. Include the file and version information (from above)
in the problem description and send to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
}
UNIT Files;
INTERFACE
{$IFC UNDEFINED __FILES__}
{$SETC __FILES__ := 1}
USES
ConditionalMacros, Types, MixedMode, OSUtils, Finder;
{ $PUSH}
{ $ALIGN MAC68K}
{ $LibExport+}
CONST
fsAtMark = 0;
fsCurPerm = 0;
fsRdPerm = 1;
fInvisible = 16384;
fsWrPerm = 2;
fsRdWrPerm = 3;
fsRdWrShPerm = 4;
fsFromStart = 1;
fsFromLEOF = 2;
fsFromMark = 3;
rdVerify = 64;
ioMapBuffer = 4;
ioModeReserved = 8;
ioDirFlg = 4; { see IM IV-125 }
ioDirMask = $10;
fsRtParID = 1;
fsRtDirID = 2;
{$IFC OLDROUTINELOCATIONS }
fOnDesk = 1;
fHasBundle = 8192;
fTrash = -3;
fDesktop = -2;
fDisk = 0;
{$ENDC}
{ CatSearch SearchBits Constants }
fsSBPartialName = 1;
fsSBFullName = 2;
fsSBFlAttrib = 4;
fsSBFlFndrInfo = 8;
fsSBFlLgLen = 32;
fsSBFlPyLen = 64;
fsSBFlRLgLen = 128;
fsSBFlRPyLen = 256;
fsSBFlCrDat = 512;
fsSBFlMdDat = 1024;
fsSBFlBkDat = 2048;
fsSBFlXFndrInfo = 4096;
fsSBFlParID = 8192;
fsSBNegate = 16384;
fsSBDrUsrWds = 8;
fsSBDrNmFls = 16;
fsSBDrCrDat = 512;
fsSBDrMdDat = 1024;
fsSBDrBkDat = 2048;
fsSBDrFndrInfo = 4096;
{ bit values for the above }
fsSBPartialNameBit = 0; {ioFileName points to a substring}
fsSBFullNameBit = 1; {ioFileName points to a match string}
fsSBFlAttribBit = 2; {search includes file attributes}
fsSBFlFndrInfoBit = 3; {search includes finder info}
fsSBFlLgLenBit = 5; {search includes data logical length}
fsSBFlPyLenBit = 6; {search includes data physical length}
fsSBFlRLgLenBit = 7; {search includes resource logical length}
fsSBFlRPyLenBit = 8; {search includes resource physical length}
fsSBFlCrDatBit = 9; {search includes create date}
fsSBFlMdDatBit = 10; {search includes modification date}
fsSBFlBkDatBit = 11; {search includes backup date}
fsSBFlXFndrInfoBit = 12; {search includes extended finder info}
fsSBFlParIDBit = 13; {search includes file's parent ID}
fsSBNegateBit = 14; {return all non-matches}
fsSBDrUsrWdsBit = 3; {search includes directory finder info}
fsSBDrNmFlsBit = 4; {search includes directory valence}
fsSBDrCrDatBit = 9; {directory-named version of fsSBFlCrDatBit}
fsSBDrMdDatBit = 10; {directory-named version of fsSBFlMdDatBit}
fsSBDrBkDatBit = 11; {directory-named version of fsSBFlBkDatBit}
fsSBDrFndrInfoBit = 12; {directory-named version of fsSBFlXFndrInfoBit}
fsSBDrParID = 8192;
fsSBDrParIDBit = 13; {directory-named version of fsSBFlParIDBit}
{ vMAttrib (GetVolParms) bit position constants }
bLimitFCBs = 31;
bLocalWList = 30;
bNoMiniFndr = 29;
bNoVNEdit = 28;
bNoLclSync = 27;
bTrshOffLine = 26;
bNoSwitchTo = 25;
bNoDeskItems = 20;
bNoBootBlks = 19;
bAccessCntl = 18;
bNoSysDir = 17;
bHasExtFSVol = 16;
bHasOpenDeny = 15;
bHasCopyFile = 14;
bHasMoveRename = 13;
bHasDesktopMgr = 12;
bHasShortName = 11;
bHasFolderLock = 10;
bHasPersonalAccessPrivileges = 9;
bHasUserGroupList = 8;
bHasCatSearch = 7;
bHasFileIDs = 6;
bHasBTreeMgr = 5;
bHasBlankAccessPrivileges = 4;
{ Desktop Database icon Constants }
kLargeIcon = 1;
kLarge4BitIcon = 2;
kLarge8BitIcon = 3;
kSmallIcon = 4;
kSmall4BitIcon = 5;
kSmall8BitIcon = 6;
kLargeIconSize = 256;
kLarge4BitIconSize = 512;
kLarge8BitIconSize = 1024;
kSmallIconSize = 64;
kSmall4BitIconSize = 128;
kSmall8BitIconSize = 256;
{ Foreign Privilege Model Identifiers }
fsUnixPriv = 1;
{ Version Release Stage Codes }
developStage = $20;
alphaStage = $40;
betaStage = $60;
finalStage = $80;
{ Authentication Constants }
kNoUserAuthentication = 1;
kPassword = 2;
kEncryptPassword = 3;
kTwoWayEncryptPassword = 6;
hFileInfo = 0;
dirInfo = 1;
TYPE
CInfoType = SInt8;
{ mapping codes (ioObjType) for MapName & MapID }
CONST
kOwnerID2Name = 1;
kGroupID2Name = 2;
kOwnerName2ID = 3;
kGroupName2ID = 4;
{ types of oj object to be returned (ioObjType) for _GetUGEntry }
kReturnNextUser = 1;
kReturnNextGroup = 2;
kReturnNextUG = 3;
{$IFC OLDROUTINELOCATIONS }
{
The following structures are being moved to Finder.i because
they are Finder centric. See Finder constants above.
}
TYPE
FInfo = RECORD
fdType: OSType; {the type of the file}
fdCreator: OSType; {file's creator}
fdFlags: INTEGER; {flags ex. hasbundle,invisible,locked, etc.}
fdLocation: Point; {file's location in folder}
fdFldr: INTEGER; {folder containing file}
END;
FXInfo = RECORD
fdIconID: INTEGER; {Icon ID}
fdUnused: ARRAY [1..3] OF INTEGER; {unused but reserved 6 bytes}
fdScript: SInt8; {Script flag and number}
fdXFlags: SInt8; {More flag bits}
fdComment: INTEGER; {Comment ID}
fdPutAway: LONGINT; {Home Dir ID}
END;
DInfo = RECORD
frRect: Rect; {folder rect}
frFlags: INTEGER; {Flags}
frLocation: Point; {folder location}
frView: INTEGER; {folder view}
END;
DXInfo = RECORD
frScroll: Point; {scroll position}
frOpenChain: LONGINT; {DirID chain of open folders}
frScript: SInt8; {Script flag and number}
frXFlags: SInt8; {More flag bits}
frComment: INTEGER; {comment}
frPutAway: LONGINT; {DirID}
END;
{$ENDC}
TYPE
GetVolParmsInfoBuffer = RECORD
vMVersion: INTEGER; {version number}
vMAttrib: LONGINT; {bit vector of attributes (see vMAttrib constants)}
vMLocalHand: Handle; {handle to private data}
vMServerAdr: LONGINT; {AppleTalk server address or zero}
vMVolumeGrade: LONGINT; {approx. speed rating or zero if unrated}
vMForeignPrivID: INTEGER; {foreign privilege model supported or zero if none}
END;
ParmBlkPtr = ^ParamBlockRec;
{
IOCompletionProcPtr uses register based parameters on the 68k and cannot
be written in or called from a high-level language without the help of
mixed mode or assembly glue.
In:
=> paramBlock A0.L
}
IOCompletionProcPtr = Register68kProcPtr; { register PROCEDURE IOCompletion(paramBlock: ParmBlkPtr); }
IOCompletionUPP = UniversalProcPtr;
IOParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioRefNum: INTEGER;
ioVersNum: SInt8;
ioPermssn: SInt8;
ioMisc: Ptr;
ioBuffer: Ptr;
ioReqCount: LONGINT;
ioActCount: LONGINT;
ioPosMode: INTEGER;
ioPosOffset: LONGINT;
END;
IOParamPtr = ^IOParam;
FileParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioFRefNum: INTEGER;
ioFVersNum: SInt8;
filler1: SInt8;
ioFDirIndex: INTEGER;
ioFlAttrib: SInt8;
ioFlVersNum: SInt8;
ioFlFndrInfo: FInfo;
ioFlNum: LONGINT;
ioFlStBlk: INTEGER;
ioFlLgLen: LONGINT;
ioFlPyLen: LONGINT;
ioFlRStBlk: INTEGER;
ioFlRLgLen: LONGINT;
ioFlRPyLen: LONGINT;
ioFlCrDat: LONGINT;
ioFlMdDat: LONGINT;
END;
FileParamPtr = ^FileParam;
VolumeParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler2: LONGINT;
ioVolIndex: INTEGER;
ioVCrDate: LONGINT;
ioVLsBkUp: LONGINT;
ioVAtrb: INTEGER;
ioVNmFls: INTEGER;
ioVDirSt: INTEGER;
ioVBlLn: INTEGER;
ioVNmAlBlks: INTEGER;
ioVAlBlkSiz: LONGINT;
ioVClpSiz: LONGINT;
ioAlBlSt: INTEGER;
ioVNxtFNum: LONGINT;
ioVFrBlk: INTEGER;
END;
VolumeParamPtr = ^VolumeParam;
CntrlParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioCRefNum: INTEGER;
csCode: INTEGER;
csParam: ARRAY [0..10] OF INTEGER;
END;
CntrlParamPtr = ^CntrlParam;
SlotDevParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioSRefNum: INTEGER;
ioSVersNum: SInt8;
ioSPermssn: SInt8;
ioSMix: Ptr;
ioSFlags: INTEGER;
ioSlot: SInt8;
ioID: SInt8;
END;
SlotDevParamPtr = ^SlotDevParam;
MultiDevParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioMRefNum: INTEGER;
ioMVersNum: SInt8;
ioMPermssn: SInt8;
ioMMix: Ptr;
ioMFlags: INTEGER;
ioSEBlkPtr: Ptr;
END;
MultiDevParamPtr = ^MultiDevParam;
ParamBlockRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
CASE INTEGER OF
0: (
ioRefNum: INTEGER;
ioVersNum: SInt8;
ioPermssn: SInt8;
ioMisc: Ptr;
ioBuffer: Ptr;
ioReqCount: LONGINT;
ioActCount: LONGINT;
ioPosMode: INTEGER;
ioPosOffset: LONGINT;
);
1: (
ioFRefNum: INTEGER;
ioFVersNum: SInt8;
filler1: SInt8;
ioFDirIndex: INTEGER;
ioFlAttrib: SInt8;
ioFlVersNum: SInt8;
ioFlFndrInfo: FInfo;
ioFlNum: LONGINT;
ioFlStBlk: INTEGER;
ioFlLgLen: LONGINT;
ioFlPyLen: LONGINT;
ioFlRStBlk: INTEGER;
ioFlRLgLen: LONGINT;
ioFlRPyLen: LONGINT;
ioFlCrDat: LONGINT;
ioFlMdDat: LONGINT;
);
2: (
filler2: LONGINT;
ioVolIndex: INTEGER;
ioVCrDate: LONGINT;
ioVLsBkUp: LONGINT;
ioVAtrb: INTEGER;
ioVNmFls: INTEGER;
ioVDirSt: INTEGER;
ioVBlLn: INTEGER;
ioVNmAlBlks: INTEGER;
ioVAlBlkSiz: LONGINT;
ioVClpSiz: LONGINT;
ioAlBlSt: INTEGER;
ioVNxtFNum: LONGINT;
ioVFrBlk: INTEGER;
);
3: (
ioCRefNum: INTEGER;
csCode: INTEGER;
csParam: ARRAY [0..10] OF INTEGER;
);
4: (
ioSRefNum: INTEGER;
ioSVersNum: SInt8;
ioSPermssn: SInt8;
ioSMix: Ptr;
ioSFlags: INTEGER;
ioSlot: SInt8;
ioID: SInt8;
);
5: (
ioMRefNum: INTEGER;
ioMVersNum: SInt8;
ioMPermssn: SInt8;
ioMMix: Ptr;
ioMFlags: INTEGER;
ioSEBlkPtr: Ptr;
);
END;
CInfoPBRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioFRefNum: INTEGER;
ioFVersNum: SInt8;
filler1: SInt8;
ioFDirIndex: INTEGER;
ioFlAttrib: SInt8;
ioACUser: SInt8;
CASE INTEGER OF
0: (
ioFlFndrInfo: FInfo;
ioDirID: LONGINT;
ioFlStBlk: INTEGER;
ioFlLgLen: LONGINT;
ioFlPyLen: LONGINT;
ioFlRStBlk: INTEGER;
ioFlRLgLen: LONGINT;
ioFlRPyLen: LONGINT;
ioFlCrDat: LONGINT;
ioFlMdDat: LONGINT;
ioFlBkDat: LONGINT;
ioFlXFndrInfo: FXInfo;
ioFlParID: LONGINT;
ioFlClpSiz: LONGINT;
);
1: (
ioDrUsrWds: DInfo;
ioDrDirID: LONGINT;
ioDrNmFls: INTEGER;
filler3: ARRAY [1..9] OF INTEGER;
ioDrCrDat: LONGINT;
ioDrMdDat: LONGINT;
ioDrBkDat: LONGINT;
ioDrFndrInfo: DXInfo;
ioDrParID: LONGINT;
);
END;
CInfoPBPtr = ^CInfoPBRec;
CatPositionRec = RECORD
initialize: LONGINT;
priv: ARRAY [1..6] OF INTEGER;
END;
FSSpec = RECORD
vRefNum: INTEGER;
parID: LONGINT;
name: Str63;
END;
FSSpecPtr = ^FSSpec;
FSSpecHandle = ^FSSpecPtr;
{ pointer to array of FSSpecs }
FSSpecArrayPtr = FSSpecPtr;
{ The only difference between "const FSSpec*" and "ConstFSSpecPtr" is
that as a parameter, ConstFSSpecPtr is allowed to be NULL }
ConstFSSpecPtr = ^FSSpec;
{ The following are structures to be filled out with the _GetVolMountInfo call
and passed back into the _VolumeMount call for external file system mounts. }
{ the "signature" of the file system }
VolumeType = OSType;
CONST
{ the signature for AppleShare }
AppleShareMediaType = 'afpm';
{$IFC NOT OLDROUTINELOCATIONS }
TYPE
VolMountInfoHeader = RECORD
length: INTEGER; { length of location data (including self) }
media: VolumeType; { type of media. Variable length data follows }
END;
VolMountInfoPtr = ^VolMountInfoHeader;
{ The new volume mount info record. The old one is included for compatibility.
the new record allows access by foriegn filesystems writers to the flags
portion of the record. This portion is now public. }
VolumeMountInfoHeader = RECORD
length: INTEGER; { length of location data (including self) }
media: VolumeType; { type of media (must be registered with Apple) }
flags: INTEGER; { volume mount flags. Variable length data follows }
END;
VolumeMountInfoHeaderPtr = ^VolumeMountInfoHeader;
{ additional volume mount flags }
CONST
volMountInteractBit = 15; { Input to VolumeMount: If set, it's OK for the file system }
volMountInteractMask = $8000; { to perform user interaction to mount the volume }
volMountChangedBit = 14; { Output from VoumeMount: If set, the volume was mounted, but }
volMountChangedMask = $4000; { the volume mounting information record needs to be updated. }
volMountFSReservedMask = $00ff; { bits 0-7 are defined by each file system for its own use }
volMountSysReservedMask = $ff00; { bits 8-15 are reserved for Apple system use }
{$ENDC}
TYPE
AFPVolMountInfo = RECORD
length: INTEGER; { length of location data (including self) }
media: VolumeType; { type of media }
flags: INTEGER; { bits for no messages, no reconnect }
nbpInterval: SInt8; { NBP Interval parameter (IM2, p.322) }
nbpCount: SInt8; { NBP Interval parameter (IM2, p.322) }
uamType: INTEGER; { User Authentication Method }
zoneNameOffset: INTEGER; { short positive offset from start of struct to Zone Name }
serverNameOffset: INTEGER; { offset to pascal Server Name string }
volNameOffset: INTEGER; { offset to pascal Volume Name string }
userNameOffset: INTEGER; { offset to pascal User Name string }
userPasswordOffset: INTEGER; { offset to pascal User Password string }
volPasswordOffset: INTEGER; { offset to pascal Volume Password string }
AFPData: PACKED ARRAY [1..144] OF CHAR; { variable length data may follow }
END;
AFPVolMountInfoPtr = ^AFPVolMountInfo;
DTPBRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioDTRefNum: INTEGER; { desktop refnum }
ioIndex: INTEGER;
ioTagInfo: LONGINT;
ioDTBuffer: Ptr;
ioDTReqCount: LONGINT;
ioDTActCount: LONGINT;
ioFiller1: SInt8;
ioIconType: SInt8;
ioFiller2: INTEGER;
ioDirID: LONGINT;
ioFileCreator: OSType;
ioFileType: OSType;
ioFiller3: LONGINT;
ioDTLgLen: LONGINT;
ioDTPyLen: LONGINT;
ioFiller4: ARRAY [1..14] OF INTEGER;
ioAPPLParID: LONGINT;
END;
DTPBPtr = ^DTPBRec;
HIOParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioRefNum: INTEGER;
ioVersNum: SInt8;
ioPermssn: SInt8;
ioMisc: Ptr;
ioBuffer: Ptr;
ioReqCount: LONGINT;
ioActCount: LONGINT;
ioPosMode: INTEGER;
ioPosOffset: LONGINT;
END;
HIOParamPtr = ^HIOParam;
HFileParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioFRefNum: INTEGER;
ioFVersNum: SInt8;
filler1: SInt8;
ioFDirIndex: INTEGER;
ioFlAttrib: SInt8;
ioFlVersNum: SInt8;
ioFlFndrInfo: FInfo;
ioDirID: LONGINT;
ioFlStBlk: INTEGER;
ioFlLgLen: LONGINT;
ioFlPyLen: LONGINT;
ioFlRStBlk: INTEGER;
ioFlRLgLen: LONGINT;
ioFlRPyLen: LONGINT;
ioFlCrDat: LONGINT;
ioFlMdDat: LONGINT;
END;
HFileParamPtr = ^HFileParam;
HVolumeParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler2: LONGINT;
ioVolIndex: INTEGER;
ioVCrDate: LONGINT;
ioVLsMod: LONGINT;
ioVAtrb: INTEGER;
ioVNmFls: INTEGER;
ioVBitMap: INTEGER;
ioAllocPtr: INTEGER;
ioVNmAlBlks: INTEGER;
ioVAlBlkSiz: LONGINT;
ioVClpSiz: LONGINT;
ioAlBlSt: INTEGER;
ioVNxtCNID: LONGINT;
ioVFrBlk: INTEGER;
ioVSigWord: INTEGER;
ioVDrvInfo: INTEGER;
ioVDRefNum: INTEGER;
ioVFSID: INTEGER;
ioVBkUp: LONGINT;
ioVSeqNum: INTEGER;
ioVWrCnt: LONGINT;
ioVFilCnt: LONGINT;
ioVDirCnt: LONGINT;
ioVFndrInfo: ARRAY [1..8] OF LONGINT;
END;
HVolumeParamPtr = ^HVolumeParam;
CONST
{ Large Volume Constants }
kWidePosOffsetBit = 8;
kMaximumBlocksIn4GB = $007FFFFF;
TYPE
XIOParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioRefNum: INTEGER;
ioVersNum: SInt8;
ioPermssn: SInt8;
ioMisc: Ptr;
ioBuffer: Ptr;
ioReqCount: LONGINT;
ioActCount: LONGINT;
ioPosMode: INTEGER; { must have kUseWidePositioning bit set }
ioWPosOffset: wide; { wide positioning offset }
END;
XIOParamPtr = ^XIOParam;
XVolumeParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioXVersion: LONGINT; { this XVolumeParam version (0) }
ioVolIndex: INTEGER;
ioVCrDate: LONGINT;
ioVLsMod: LONGINT;
ioVAtrb: INTEGER;
ioVNmFls: INTEGER;
ioVBitMap: INTEGER;
ioAllocPtr: INTEGER;
ioVNmAlBlks: INTEGER;
ioVAlBlkSiz: LONGINT;
ioVClpSiz: LONGINT;
ioAlBlSt: INTEGER;
ioVNxtCNID: LONGINT;
ioVFrBlk: INTEGER;
ioVSigWord: INTEGER;
ioVDrvInfo: INTEGER;
ioVDRefNum: INTEGER;
ioVFSID: INTEGER;
ioVBkUp: LONGINT;
ioVSeqNum: INTEGER;
ioVWrCnt: LONGINT;
ioVFilCnt: LONGINT;
ioVDirCnt: LONGINT;
ioVFndrInfo: ARRAY [1..8] OF LONGINT;
ioVTotalBytes: UnsignedWide; { total number of bytes on volume }
ioVFreeBytes: UnsignedWide; { number of free bytes on volume }
END;
XVolumeParamPtr = ^XVolumeParam;
AccessParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler3: INTEGER;
ioDenyModes: INTEGER;
filler4: INTEGER;
filler5: SInt8;
ioACUser: SInt8;
filler6: LONGINT;
ioACOwnerID: LONGINT;
ioACGroupID: LONGINT;
ioACAccess: LONGINT;
ioDirID: LONGINT;
END;
AccessParamPtr = ^AccessParam;
ObjParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler7: INTEGER;
ioObjType: INTEGER;
ioObjNamePtr: StringPtr;
ioObjID: LONGINT;
END;
ObjParamPtr = ^ObjParam;
CopyParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioDstVRefNum: INTEGER;
filler8: INTEGER;
ioNewName: StringPtr;
ioCopyName: StringPtr;
ioNewDirID: LONGINT;
filler14: LONGINT;
filler15: LONGINT;
ioDirID: LONGINT;
END;
CopyParamPtr = ^CopyParam;
WDParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler9: INTEGER;
ioWDIndex: INTEGER;
ioWDProcID: LONGINT;
ioWDVRefNum: INTEGER;
filler10: INTEGER;
filler11: LONGINT;
filler12: LONGINT;
filler13: LONGINT;
ioWDDirID: LONGINT;
END;
WDParamPtr = ^WDParam;
FIDParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler14: LONGINT;
ioDestNamePtr: StringPtr;
filler15: LONGINT;
ioDestDirID: LONGINT;
filler16: LONGINT;
filler17: LONGINT;
ioSrcDirID: LONGINT;
filler18: INTEGER;
ioFileID: LONGINT;
END;
FIDParamPtr = ^FIDParam;
ForeignPrivParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioFiller21: LONGINT;
ioFiller22: LONGINT;
ioForeignPrivBuffer: Ptr;
ioForeignPrivActCount: LONGINT;
ioForeignPrivReqCount: LONGINT;
ioFiller23: LONGINT;
ioForeignPrivDirID: LONGINT;
ioForeignPrivInfo1: LONGINT;
ioForeignPrivInfo2: LONGINT;
ioForeignPrivInfo3: LONGINT;
ioForeignPrivInfo4: LONGINT;
END;
ForeignPrivParamPtr = ^ForeignPrivParam;
CSParam = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioMatchPtr: FSSpecPtr;
ioReqMatchCount: LONGINT;
ioActMatchCount: LONGINT;
ioSearchBits: LONGINT;
ioSearchInfo1: CInfoPBPtr;
ioSearchInfo2: CInfoPBPtr;
ioSearchTime: LONGINT;
ioCatPosition: CatPositionRec;
ioOptBuffer: Ptr;
ioOptBufSize: LONGINT;
END;
CSParamPtr = ^CSParam;
HParamBlockRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
CASE INTEGER OF
0: (
ioRefNum: INTEGER;
ioVersNum: SInt8;
ioPermssn: SInt8;
ioMisc: Ptr;
ioBuffer: Ptr;
ioReqCount: LONGINT;
ioActCount: LONGINT;
ioPosMode: INTEGER;
ioPosOffset: LONGINT;
);
1: (
ioFRefNum: INTEGER;
ioFVersNum: SInt8;
filler1: SInt8;
ioFDirIndex: INTEGER;
ioFlAttrib: SInt8;
ioFlVersNum: SInt8;
ioFlFndrInfo: FInfo;
ioDirID: LONGINT;
ioFlStBlk: INTEGER;
ioFlLgLen: LONGINT;
ioFlPyLen: LONGINT;
ioFlRStBlk: INTEGER;
ioFlRLgLen: LONGINT;
ioFlRPyLen: LONGINT;
ioFlCrDat: LONGINT;
ioFlMdDat: LONGINT;
);
2: (
filler2: LONGINT;
ioVolIndex: INTEGER;
ioVCrDate: LONGINT;
ioVLsMod: LONGINT;
ioVAtrb: INTEGER;
ioVNmFls: INTEGER;
ioVBitMap: INTEGER;
ioAllocPtr: INTEGER;
ioVNmAlBlks: INTEGER;
ioVAlBlkSiz: LONGINT;
ioVClpSiz: LONGINT;
ioAlBlSt: INTEGER;
ioVNxtCNID: LONGINT;
ioVFrBlk: INTEGER;
ioVSigWord: INTEGER;
ioVDrvInfo: INTEGER;
ioVDRefNum: INTEGER;
ioVFSID: INTEGER;
ioVBkUp: LONGINT;
ioVSeqNum: INTEGER;
ioVWrCnt: LONGINT;
ioVFilCnt: LONGINT;
ioVDirCnt: LONGINT;
ioVFndrInfo: ARRAY [1..8] OF LONGINT;
);
3: (
filler3: INTEGER;
ioDenyModes: INTEGER;
filler4: INTEGER;
filler5: SInt8;
ioACUser: SInt8;
filler6: LONGINT;
ioACOwnerID: LONGINT;
ioACGroupID: LONGINT;
ioACAccess: LONGINT;
);
4: (
filler7: INTEGER;
ioObjType: INTEGER;
ioObjNamePtr: StringPtr;
ioObjID: LONGINT;
);
5: (
ioDstVRefNum: INTEGER;
filler8: INTEGER;
ioNewName: StringPtr;
ioCopyName: StringPtr;
ioNewDirID: LONGINT;
);
6: (
filler9: INTEGER;
ioWDIndex: INTEGER;
ioWDProcID: LONGINT;
ioWDVRefNum: INTEGER;
filler10: INTEGER;
filler11: LONGINT;
filler12: LONGINT;
filler13: LONGINT;
ioWDDirID: LONGINT;
);
7: (
filler14: LONGINT;
ioDestNamePtr: StringPtr;
filler15: LONGINT;
ioDestDirID: LONGINT;
filler16: LONGINT;
filler17: LONGINT;
ioSrcDirID: LONGINT;
filler18: INTEGER;
ioFileID: LONGINT;
);
8: (
ioMatchPtr: FSSpecPtr;
ioReqMatchCount: LONGINT;
ioActMatchCount: LONGINT;
ioSearchBits: LONGINT;
ioSearchInfo1: CInfoPBPtr;
ioSearchInfo2: CInfoPBPtr;
ioSearchTime: LONGINT;
ioCatPosition: CatPositionRec;
ioOptBuffer: Ptr;
ioOptBufSize: LONGINT;
);
9: (
ioFiller21: LONGINT;
ioFiller22: LONGINT;
ioForeignPrivBuffer: Ptr;
ioForeignPrivActCount: LONGINT;
ioForeignPrivReqCount: LONGINT;
ioFiller23: LONGINT;
ioForeignPrivDirID: LONGINT;
ioForeignPrivInfo1: LONGINT;
ioForeignPrivInfo2: LONGINT;
ioForeignPrivInfo3: LONGINT;
ioForeignPrivInfo4: LONGINT;
);
END;
HParmBlkPtr = ^HParamBlockRec;
CMovePBRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler1: LONGINT;
ioNewName: StringPtr;
filler2: LONGINT;
ioNewDirID: LONGINT;
filler3: ARRAY [1..2] OF LONGINT;
ioDirID: LONGINT;
END;
CMovePBPtr = ^CMovePBRec;
WDPBRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
filler1: INTEGER;
ioWDIndex: INTEGER;
ioWDProcID: LONGINT;
ioWDVRefNum: INTEGER;
filler2: ARRAY [1..7] OF INTEGER;
ioWDDirID: LONGINT;
END;
WDPBPtr = ^WDPBRec;
FCBPBRec = RECORD
qLink: QElemPtr;
qType: INTEGER;
ioTrap: INTEGER;
ioCmdAddr: Ptr;
ioCompletion: IOCompletionUPP;
ioResult: OSErr;
ioNamePtr: StringPtr;
ioVRefNum: INTEGER;
ioRefNum: INTEGER;
filler: INTEGER;
ioFCBIndx: INTEGER;
filler1: INTEGER;
ioFCBFlNm: LONGINT;
ioFCBFlags: INTEGER;
ioFCBStBlk: INTEGER;
ioFCBEOF: LONGINT;
ioFCBPLen: LONGINT;
ioFCBCrPs: LONGINT;
ioFCBVRefNum: INTEGER;
ioFCBClpSiz: LONGINT;
ioFCBParID: LONGINT;
END;
FCBPBPtr = ^FCBPBRec;
VCB = RECORD
qLink: QElemPtr;
qType: INTEGER;
vcbFlags: INTEGER;
vcbSigWord: INTEGER;
vcbCrDate: LONGINT;
vcbLsMod: LONGINT;
vcbAtrb: INTEGER;
vcbNmFls: INTEGER;
vcbVBMSt: INTEGER;
vcbAllocPtr: INTEGER;
vcbNmAlBlks: INTEGER;
vcbAlBlkSiz: LONGINT;
vcbClpSiz: LONGINT;
vcbAlBlSt: INTEGER;
vcbNxtCNID: LONGINT;
vcbFreeBks: INTEGER;
vcbVN: Str27;
vcbDrvNum: INTEGER;
vcbDRefNum: INTEGER;
vcbFSID: INTEGER;
vcbVRefNum: INTEGER;
vcbMAdr: Ptr;
vcbBufAdr: Ptr;
vcbMLen: INTEGER;
vcbDirIndex: INTEGER;
vcbDirBlk: INTEGER;
vcbVolBkUp: LONGINT;
vcbVSeqNum: INTEGER;
vcbWrCnt: LONGINT;
vcbXTClpSiz: LONGINT;
vcbCTClpSiz: LONGINT;
vcbNmRtDirs: INTEGER;
vcbFilCnt: LONGINT;
vcbDirCnt: LONGINT;
vcbFndrInfo: ARRAY [1..8] OF LONGINT;
vcbVCSize: INTEGER;
vcbVBMCSiz: INTEGER;
vcbCtlCSiz: INTEGER;
vcbXTAlBlks: INTEGER;
vcbCTAlBlks: INTEGER;
vcbXTRef: INTEGER;
vcbCTRef: INTEGER;
vcbCtlBuf: Ptr;
vcbDirIDM: LONGINT;
vcbOffsM: INTEGER;
END;
{$IFC NOT OLDROUTINELOCATIONS }
VCBPtr = ^VCB;
{$ENDC}
DrvQEl = RECORD
qLink: QElemPtr;
qType: INTEGER;
dQDrive: INTEGER;
dQRefNum: INTEGER;
dQFSID: INTEGER;
dQDrvSz: INTEGER;
dQDrvSz2: INTEGER;
END;
DrvQElPtr = ^DrvQEl;
CONST
uppIOCompletionProcInfo = $00009802; { Register PROCEDURE (4 bytes in A0); }
FUNCTION NewIOCompletionProc(userRoutine: IOCompletionProcPtr): IOCompletionUPP;
{$IFC NOT GENERATINGCFM }
INLINE $2E9F;
{$ENDC}
PROCEDURE CallIOCompletionProc(paramBlock: ParmBlkPtr; userRoutine: IOCompletionUPP);
{$IFC NOT GENERATINGCFM}
{To be implemented: Glue to move parameters into registers.}
{$ENDC}
{$IFC OLDROUTINELOCATIONS }
FUNCTION PBOpenSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A000, $3E80;
{$ENDC}
FUNCTION PBOpenAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A400, $3E80;
{$ENDC}
FUNCTION PBOpenImmed(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A200, $3E80;
{$ENDC}
FUNCTION PBCloseSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A001, $3E80;
{$ENDC}
FUNCTION PBCloseAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A401, $3E80;
{$ENDC}
FUNCTION PBCloseImmed(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A201, $3E80;
{$ENDC}
FUNCTION PBReadSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A002, $3E80;
{$ENDC}
FUNCTION PBReadAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A402, $3E80;
{$ENDC}
FUNCTION PBReadImmed(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A202, $3E80;
{$ENDC}
FUNCTION PBWriteSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A003, $3E80;
{$ENDC}
FUNCTION PBWriteAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A403, $3E80;
{$ENDC}
FUNCTION PBWriteImmed(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A203, $3E80;
{$ENDC}
{$ENDC}
FUNCTION PBGetVInfoSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A007, $3E80;
{$ENDC}
FUNCTION PBGetVInfoAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A407, $3E80;
{$ENDC}
FUNCTION PBXGetVolInfoSync(paramBlock: XVolumeParamPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7012, $A060, $3E80;
{$ENDC}
FUNCTION PBXGetVolInfoAsync(paramBlock: XVolumeParamPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7012, $A460, $3E80;
{$ENDC}
FUNCTION PBGetVolSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A014, $3E80;
{$ENDC}
FUNCTION PBGetVolAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A414, $3E80;
{$ENDC}
FUNCTION PBSetVolSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A015, $3E80;
{$ENDC}
FUNCTION PBSetVolAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A415, $3E80;
{$ENDC}
FUNCTION PBFlushVolSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A013, $3E80;
{$ENDC}
FUNCTION PBFlushVolAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A413, $3E80;
{$ENDC}
FUNCTION PBCreateSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A008, $3E80;
{$ENDC}
FUNCTION PBCreateAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A408, $3E80;
{$ENDC}
FUNCTION PBDeleteSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A009, $3E80;
{$ENDC}
FUNCTION PBDeleteAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A409, $3E80;
{$ENDC}
FUNCTION PBOpenDFSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $701A, $A060, $3E80;
{$ENDC}
FUNCTION PBOpenDFAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $701A, $A460, $3E80;
{$ENDC}
FUNCTION PBOpenRFSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A00A, $3E80;
{$ENDC}
FUNCTION PBOpenRFAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A40A, $3E80;
{$ENDC}
FUNCTION PBRenameSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A00B, $3E80;
{$ENDC}
FUNCTION PBRenameAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A40B, $3E80;
{$ENDC}
FUNCTION PBGetFInfoSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A00C, $3E80;
{$ENDC}
FUNCTION PBGetFInfoAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A40C, $3E80;
{$ENDC}
FUNCTION PBSetFInfoSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A00D, $3E80;
{$ENDC}
FUNCTION PBSetFInfoAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A40D, $3E80;
{$ENDC}
FUNCTION PBSetFLockSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A041, $3E80;
{$ENDC}
FUNCTION PBSetFLockAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A441, $3E80;
{$ENDC}
FUNCTION PBRstFLockSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A042, $3E80;
{$ENDC}
FUNCTION PBRstFLockAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A442, $3E80;
{$ENDC}
FUNCTION PBSetFVersSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A043, $3E80;
{$ENDC}
FUNCTION PBSetFVersAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A443, $3E80;
{$ENDC}
FUNCTION PBAllocateSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A010, $3E80;
{$ENDC}
FUNCTION PBAllocateAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A410, $3E80;
{$ENDC}
FUNCTION PBGetEOFSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A011, $3E80;
{$ENDC}
FUNCTION PBGetEOFAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A411, $3E80;
{$ENDC}
FUNCTION PBSetEOFSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A012, $3E80;
{$ENDC}
FUNCTION PBSetEOFAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A412, $3E80;
{$ENDC}
FUNCTION PBGetFPosSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A018, $3E80;
{$ENDC}
FUNCTION PBGetFPosAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A418, $3E80;
{$ENDC}
FUNCTION PBSetFPosSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A044, $3E80;
{$ENDC}
FUNCTION PBSetFPosAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A444, $3E80;
{$ENDC}
FUNCTION PBFlushFileSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A045, $3E80;
{$ENDC}
FUNCTION PBFlushFileAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A445, $3E80;
{$ENDC}
FUNCTION PBMountVol(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A00F, $3E80;
{$ENDC}
FUNCTION PBUnmountVol(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A00E, $3E80;
{$ENDC}
FUNCTION PBEject(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A017, $3E80;
{$ENDC}
FUNCTION PBOffLine(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A035, $3E80;
{$ENDC}
FUNCTION PBCatSearchSync(paramBlock: CSParamPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7018, $A260, $3E80;
{$ENDC}
FUNCTION PBCatSearchAsync(paramBlock: CSParamPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7018, $A660, $3E80;
{$ENDC}
FUNCTION SetVol(volName: StringPtr; vRefNum: INTEGER): OSErr;
FUNCTION UnmountVol(volName: StringPtr; vRefNum: INTEGER): OSErr;
FUNCTION Eject(volName: StringPtr; vRefNum: INTEGER): OSErr;
FUNCTION FlushVol(volName: StringPtr; vRefNum: INTEGER): OSErr;
FUNCTION HSetVol(volName: StringPtr; vRefNum: INTEGER; dirID: LONGINT): OSErr;
{$IFC OLDROUTINELOCATIONS }
PROCEDURE AddDrive(drvrRefNum: INTEGER; drvNum: INTEGER; qEl: DrvQElPtr);
{$ENDC}
FUNCTION FSOpen(fileName: ConstStr255Param; vRefNum: INTEGER; VAR refNum: INTEGER): OSErr;
FUNCTION OpenDF(fileName: ConstStr255Param; vRefNum: INTEGER; VAR refNum: INTEGER): OSErr;
FUNCTION FSClose(refNum: INTEGER): OSErr;
FUNCTION FSRead(refNum: INTEGER; VAR count: LONGINT; buffPtr: UNIV Ptr): OSErr;
FUNCTION FSWrite(refNum: INTEGER; VAR count: LONGINT; buffPtr: UNIV Ptr): OSErr;
FUNCTION GetVInfo(drvNum: INTEGER; volName: StringPtr; VAR vRefNum: INTEGER; VAR freeBytes: LONGINT): OSErr;
FUNCTION GetFInfo(fileName: ConstStr255Param; vRefNum: INTEGER; VAR fndrInfo: FInfo): OSErr;
FUNCTION GetVol(volName: StringPtr; VAR vRefNum: INTEGER): OSErr;
FUNCTION Create(fileName: ConstStr255Param; vRefNum: INTEGER; creator: OSType; fileType: OSType): OSErr;
FUNCTION FSDelete(fileName: ConstStr255Param; vRefNum: INTEGER): OSErr;
FUNCTION OpenRF(fileName: ConstStr255Param; vRefNum: INTEGER; VAR refNum: INTEGER): OSErr;
FUNCTION Rename(oldName: ConstStr255Param; vRefNum: INTEGER; newName: ConstStr255Param): OSErr;
FUNCTION SetFInfo(fileName: ConstStr255Param; vRefNum: INTEGER; {CONST}VAR fndrInfo: FInfo): OSErr;
FUNCTION SetFLock(fileName: ConstStr255Param; vRefNum: INTEGER): OSErr;
FUNCTION RstFLock(fileName: ConstStr255Param; vRefNum: INTEGER): OSErr;
FUNCTION Allocate(refNum: INTEGER; VAR count: LONGINT): OSErr;
FUNCTION GetEOF(refNum: INTEGER; VAR logEOF: LONGINT): OSErr;
FUNCTION SetEOF(refNum: INTEGER; logEOF: LONGINT): OSErr;
FUNCTION GetFPos(refNum: INTEGER; VAR filePos: LONGINT): OSErr;
FUNCTION SetFPos(refNum: INTEGER; posMode: INTEGER; posOff: LONGINT): OSErr;
FUNCTION GetVRefNum(fileRefNum: INTEGER; VAR vRefNum: INTEGER): OSErr;
FUNCTION PBOpenWDSync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7001, $A260, $3E80;
{$ENDC}
FUNCTION PBOpenWDAsync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7001, $A660, $3E80;
{$ENDC}
FUNCTION PBCloseWDSync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7002, $A260, $3E80;
{$ENDC}
FUNCTION PBCloseWDAsync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7002, $A660, $3E80;
{$ENDC}
FUNCTION PBHSetVolSync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A215, $3E80;
{$ENDC}
FUNCTION PBHSetVolAsync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A615, $3E80;
{$ENDC}
FUNCTION PBHGetVolSync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A214, $3E80;
{$ENDC}
FUNCTION PBHGetVolAsync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A614, $3E80;
{$ENDC}
FUNCTION PBCatMoveSync(paramBlock: CMovePBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7005, $A260, $3E80;
{$ENDC}
FUNCTION PBCatMoveAsync(paramBlock: CMovePBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7005, $A660, $3E80;
{$ENDC}
FUNCTION PBDirCreateSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7006, $A260, $3E80;
{$ENDC}
FUNCTION PBDirCreateAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7006, $A660, $3E80;
{$ENDC}
FUNCTION PBGetWDInfoSync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7007, $A260, $3E80;
{$ENDC}
FUNCTION PBGetWDInfoAsync(paramBlock: WDPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7007, $A660, $3E80;
{$ENDC}
FUNCTION PBGetFCBInfoSync(paramBlock: FCBPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7008, $A260, $3E80;
{$ENDC}
FUNCTION PBGetFCBInfoAsync(paramBlock: FCBPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7008, $A660, $3E80;
{$ENDC}
FUNCTION PBGetCatInfoSync(paramBlock: CInfoPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7009, $A260, $3E80;
{$ENDC}
FUNCTION PBGetCatInfoAsync(paramBlock: CInfoPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7009, $A660, $3E80;
{$ENDC}
FUNCTION PBSetCatInfoSync(paramBlock: CInfoPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $700A, $A260, $3E80;
{$ENDC}
FUNCTION PBSetCatInfoAsync(paramBlock: CInfoPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $700A, $A660, $3E80;
{$ENDC}
FUNCTION PBAllocContigSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A210, $3E80;
{$ENDC}
FUNCTION PBAllocContigAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A610, $3E80;
{$ENDC}
FUNCTION PBLockRangeSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7010, $A260, $3E80;
{$ENDC}
FUNCTION PBLockRangeAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7010, $A660, $3E80;
{$ENDC}
FUNCTION PBUnlockRangeSync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7011, $A260, $3E80;
{$ENDC}
FUNCTION PBUnlockRangeAsync(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7011, $A660, $3E80;
{$ENDC}
FUNCTION PBSetVInfoSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $700B, $A260, $3E80;
{$ENDC}
FUNCTION PBSetVInfoAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $700B, $A660, $3E80;
{$ENDC}
FUNCTION PBHGetVInfoSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A207, $3E80;
{$ENDC}
FUNCTION PBHGetVInfoAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A607, $3E80;
{$ENDC}
FUNCTION PBHOpenSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A200, $3E80;
{$ENDC}
FUNCTION PBHOpenAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A600, $3E80;
{$ENDC}
FUNCTION PBHOpenRFSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A20A, $3E80;
{$ENDC}
FUNCTION PBHOpenRFAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A60A, $3E80;
{$ENDC}
FUNCTION PBHOpenDFSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $701A, $A260, $3E80;
{$ENDC}
FUNCTION PBHOpenDFAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $701A, $A660, $3E80;
{$ENDC}
FUNCTION PBHCreateSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A208, $3E80;
{$ENDC}
FUNCTION PBHCreateAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A608, $3E80;
{$ENDC}
FUNCTION PBHDeleteSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A209, $3E80;
{$ENDC}
FUNCTION PBHDeleteAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A609, $3E80;
{$ENDC}
FUNCTION PBHRenameSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A20B, $3E80;
{$ENDC}
FUNCTION PBHRenameAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A60B, $3E80;
{$ENDC}
FUNCTION PBHRstFLockSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A242, $3E80;
{$ENDC}
FUNCTION PBHRstFLockAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A642, $3E80;
{$ENDC}
FUNCTION PBHSetFLockSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A241, $3E80;
{$ENDC}
FUNCTION PBHSetFLockAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A641, $3E80;
{$ENDC}
FUNCTION PBHGetFInfoSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A20C, $3E80;
{$ENDC}
FUNCTION PBHGetFInfoAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A60C, $3E80;
{$ENDC}
FUNCTION PBHSetFInfoSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A20D, $3E80;
{$ENDC}
FUNCTION PBHSetFInfoAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $A60D, $3E80;
{$ENDC}
FUNCTION PBMakeFSSpecSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $701B, $A260, $3E80;
{$ENDC}
FUNCTION PBMakeFSSpecAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $701B, $A660, $3E80;
{$ENDC}
PROCEDURE FInitQueue;
{$IFC NOT GENERATINGCFM}
INLINE $A016;
{$ENDC}
FUNCTION GetFSQHdr: QHdrPtr;
{$IFC NOT GENERATINGCFM}
INLINE $2EBC, $0000, $0360;
{$ENDC}
FUNCTION GetVCBQHdr: QHdrPtr;
{$IFC NOT GENERATINGCFM}
INLINE $2EBC, $0000, $0356;
{$ENDC}
{$IFC OLDROUTINELOCATIONS }
FUNCTION GetDrvQHdr: QHdrPtr;
{$IFC NOT GENERATINGCFM}
INLINE $2EBC, $0000, $0308;
{$ENDC}
{$ENDC}
FUNCTION HGetVol(volName: StringPtr; VAR vRefNum: INTEGER; VAR dirID: LONGINT): OSErr;
FUNCTION HOpen(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
FUNCTION HOpenDF(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
FUNCTION HOpenRF(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
FUNCTION AllocContig(refNum: INTEGER; VAR count: LONGINT): OSErr;
FUNCTION HCreate(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; creator: OSType; fileType: OSType): OSErr;
FUNCTION DirCreate(vRefNum: INTEGER; parentDirID: LONGINT; directoryName: ConstStr255Param; VAR createdDirID: LONGINT): OSErr;
FUNCTION HDelete(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param): OSErr;
FUNCTION HGetFInfo(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; VAR fndrInfo: FInfo): OSErr;
FUNCTION HSetFInfo(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; {CONST}VAR fndrInfo: FInfo): OSErr;
FUNCTION HSetFLock(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param): OSErr;
FUNCTION HRstFLock(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param): OSErr;
FUNCTION HRename(vRefNum: INTEGER; dirID: LONGINT; oldName: ConstStr255Param; newName: ConstStr255Param): OSErr;
FUNCTION CatMove(vRefNum: INTEGER; dirID: LONGINT; oldName: ConstStr255Param; newDirID: LONGINT; newName: ConstStr255Param): OSErr;
FUNCTION OpenWD(vRefNum: INTEGER; dirID: LONGINT; procID: LONGINT; VAR wdRefNum: INTEGER): OSErr;
FUNCTION CloseWD(wdRefNum: INTEGER): OSErr;
FUNCTION GetWDInfo(wdRefNum: INTEGER; VAR vRefNum: INTEGER; VAR dirID: LONGINT; VAR procID: LONGINT): OSErr;
{ shared environment }
FUNCTION PBHGetVolParmsSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7030, $A260, $3E80;
{$ENDC}
FUNCTION PBHGetVolParmsAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7030, $A660, $3E80;
{$ENDC}
FUNCTION PBHGetLogInInfoSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7031, $A260, $3E80;
{$ENDC}
FUNCTION PBHGetLogInInfoAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7031, $A660, $3E80;
{$ENDC}
FUNCTION PBHGetDirAccessSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7032, $A260, $3E80;
{$ENDC}
FUNCTION PBHGetDirAccessAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7032, $A660, $3E80;
{$ENDC}
FUNCTION PBHSetDirAccessSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7033, $A260, $3E80;
{$ENDC}
FUNCTION PBHSetDirAccessAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7033, $A660, $3E80;
{$ENDC}
FUNCTION PBHMapIDSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7034, $A260, $3E80;
{$ENDC}
FUNCTION PBHMapIDAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7034, $A660, $3E80;
{$ENDC}
FUNCTION PBHMapNameSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7035, $A260, $3E80;
{$ENDC}
FUNCTION PBHMapNameAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7035, $A660, $3E80;
{$ENDC}
FUNCTION PBHCopyFileSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7036, $A260, $3E80;
{$ENDC}
FUNCTION PBHCopyFileAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7036, $A660, $3E80;
{$ENDC}
FUNCTION PBHMoveRenameSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7037, $A260, $3E80;
{$ENDC}
FUNCTION PBHMoveRenameAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7037, $A660, $3E80;
{$ENDC}
FUNCTION PBHOpenDenySync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7038, $A260, $3E80;
{$ENDC}
FUNCTION PBHOpenDenyAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7038, $A660, $3E80;
{$ENDC}
FUNCTION PBHOpenRFDenySync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7039, $A260, $3E80;
{$ENDC}
FUNCTION PBHOpenRFDenyAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7039, $A660, $3E80;
{$ENDC}
FUNCTION PBExchangeFilesSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7017, $A260, $3E80;
{$ENDC}
FUNCTION PBExchangeFilesAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7017, $A660, $3E80;
{$ENDC}
FUNCTION PBCreateFileIDRefSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7014, $A260, $3E80;
{$ENDC}
FUNCTION PBCreateFileIDRefAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7014, $A660, $3E80;
{$ENDC}
FUNCTION PBResolveFileIDRefSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7016, $A260, $3E80;
{$ENDC}
FUNCTION PBResolveFileIDRefAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7016, $A660, $3E80;
{$ENDC}
FUNCTION PBDeleteFileIDRefSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7015, $A260, $3E80;
{$ENDC}
FUNCTION PBDeleteFileIDRefAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7015, $A660, $3E80;
{$ENDC}
FUNCTION PBGetForeignPrivsSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7060, $A260, $3E80;
{$ENDC}
FUNCTION PBGetForeignPrivsAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7060, $A660, $3E80;
{$ENDC}
FUNCTION PBSetForeignPrivsSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7061, $A260, $3E80;
{$ENDC}
FUNCTION PBSetForeignPrivsAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7061, $A660, $3E80;
{$ENDC}
{ Desktop Manager }
FUNCTION PBDTGetPath(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7020, $A260, $3E80;
{$ENDC}
FUNCTION PBDTCloseDown(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7021, $A260, $3E80;
{$ENDC}
FUNCTION PBDTAddIconSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7022, $A260, $3E80;
{$ENDC}
FUNCTION PBDTAddIconAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7022, $A660, $3E80;
{$ENDC}
FUNCTION PBDTGetIconSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7023, $A260, $3E80;
{$ENDC}
FUNCTION PBDTGetIconAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7023, $A660, $3E80;
{$ENDC}
FUNCTION PBDTGetIconInfoSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7024, $A260, $3E80;
{$ENDC}
FUNCTION PBDTGetIconInfoAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7024, $A660, $3E80;
{$ENDC}
FUNCTION PBDTAddAPPLSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7025, $A260, $3E80;
{$ENDC}
FUNCTION PBDTAddAPPLAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7025, $A660, $3E80;
{$ENDC}
FUNCTION PBDTRemoveAPPLSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7026, $A260, $3E80;
{$ENDC}
FUNCTION PBDTRemoveAPPLAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7026, $A660, $3E80;
{$ENDC}
FUNCTION PBDTGetAPPLSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7027, $A260, $3E80;
{$ENDC}
FUNCTION PBDTGetAPPLAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7027, $A660, $3E80;
{$ENDC}
FUNCTION PBDTSetCommentSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7028, $A260, $3E80;
{$ENDC}
FUNCTION PBDTSetCommentAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7028, $A660, $3E80;
{$ENDC}
FUNCTION PBDTRemoveCommentSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7029, $A260, $3E80;
{$ENDC}
FUNCTION PBDTRemoveCommentAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7029, $A660, $3E80;
{$ENDC}
FUNCTION PBDTGetCommentSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702A, $A260, $3E80;
{$ENDC}
FUNCTION PBDTGetCommentAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702A, $A660, $3E80;
{$ENDC}
FUNCTION PBDTFlushSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702B, $A260, $3E80;
{$ENDC}
FUNCTION PBDTFlushAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702B, $A660, $3E80;
{$ENDC}
FUNCTION PBDTResetSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702C, $A260, $3E80;
{$ENDC}
FUNCTION PBDTResetAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702C, $A660, $3E80;
{$ENDC}
FUNCTION PBDTGetInfoSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702D, $A260, $3E80;
{$ENDC}
FUNCTION PBDTGetInfoAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702D, $A660, $3E80;
{$ENDC}
FUNCTION PBDTOpenInform(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702E, $A060, $3E80;
{$ENDC}
FUNCTION PBDTDeleteSync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702F, $A060, $3E80;
{$ENDC}
FUNCTION PBDTDeleteAsync(paramBlock: DTPBPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $702F, $A460, $3E80;
{$ENDC}
{ VolumeMount traps }
FUNCTION PBGetVolMountInfoSize(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $703F, $A260, $3E80;
{$ENDC}
FUNCTION PBGetVolMountInfo(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7040, $A260, $3E80;
{$ENDC}
FUNCTION PBVolumeMount(paramBlock: ParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7041, $A260, $3E80;
{$ENDC}
{ FSp traps }
FUNCTION FSMakeFSSpec(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; VAR spec: FSSpec): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7001, $AA52;
{$ENDC}
FUNCTION FSpOpenDF({CONST}VAR spec: FSSpec; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7002, $AA52;
{$ENDC}
FUNCTION FSpOpenRF({CONST}VAR spec: FSSpec; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7003, $AA52;
{$ENDC}
FUNCTION FSpCreate({CONST}VAR spec: FSSpec; creator: OSType; fileType: OSType; scriptTag: ScriptCode): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7004, $AA52;
{$ENDC}
FUNCTION FSpDirCreate({CONST}VAR spec: FSSpec; scriptTag: ScriptCode; VAR createdDirID: LONGINT): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7005, $AA52;
{$ENDC}
FUNCTION FSpDelete({CONST}VAR spec: FSSpec): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7006, $AA52;
{$ENDC}
FUNCTION FSpGetFInfo({CONST}VAR spec: FSSpec; VAR fndrInfo: FInfo): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7007, $AA52;
{$ENDC}
FUNCTION FSpSetFInfo({CONST}VAR spec: FSSpec; {CONST}VAR fndrInfo: FInfo): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7008, $AA52;
{$ENDC}
FUNCTION FSpSetFLock({CONST}VAR spec: FSSpec): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7009, $AA52;
{$ENDC}
FUNCTION FSpRstFLock({CONST}VAR spec: FSSpec): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700A, $AA52;
{$ENDC}
FUNCTION FSpRename({CONST}VAR spec: FSSpec; newName: ConstStr255Param): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700B, $AA52;
{$ENDC}
FUNCTION FSpCatMove({CONST}VAR source: FSSpec; {CONST}VAR dest: FSSpec): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700C, $AA52;
{$ENDC}
FUNCTION FSpExchangeFiles({CONST}VAR source: FSSpec; {CONST}VAR dest: FSSpec): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700F, $AA52;
{$ENDC}
FUNCTION PBShareSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7042, $A260, $3E80;
{$ENDC}
FUNCTION PBShareAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7042, $A660, $3E80;
{$ENDC}
FUNCTION PBUnshareSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7043, $A260, $3E80;
{$ENDC}
FUNCTION PBUnshareAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7043, $A660, $3E80;
{$ENDC}
FUNCTION PBGetUGEntrySync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7044, $A260, $3E80;
{$ENDC}
FUNCTION PBGetUGEntryAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7044, $A660, $3E80;
{$ENDC}
{$IFC OLDROUTINENAMES & NOT GENERATINGCFM }
{
PBGetAltAccess and PBSetAltAccess are obsolete and will not be supported
on PowerPC. Equivalent functionality is provided by the routines
PBGetForeignPrivs and PBSetForeignPrivs.
}
FUNCTION PBGetAltAccessSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7060, $A060, $3E80;
{$ENDC}
FUNCTION PBGetAltAccessAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7060, $A460, $3E80;
{$ENDC}
FUNCTION PBSetAltAccessSync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7061, $A060, $3E80;
{$ENDC}
FUNCTION PBSetAltAccessAsync(paramBlock: HParmBlkPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $205F, $7061, $A460, $3E80;
{$ENDC}
FUNCTION PBGetAltAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetAltAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
{$ENDC}
{$IFC OLDROUTINENAMES }
{
The PBxxx() routines are obsolete.
Use the PBxxxSync() or PBxxxAsync() version instead.
}
FUNCTION PBGetVInfo(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBXGetVolInfo(paramBlock: XVolumeParamPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetVol(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetVol(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBFlushVol(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBCreate(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBDelete(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBOpenDF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBOpenRF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBRename(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetFInfo(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetFInfo(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetFLock(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBRstFLock(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetFVers(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBAllocate(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetEOF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetEOF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetFPos(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetFPos(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBFlushFile(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBCatSearch(paramBlock: CSParamPtr; async: BOOLEAN): OSErr;
FUNCTION PBOpenWD(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBCloseWD(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBHSetVol(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBHGetVol(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBCatMove(paramBlock: CMovePBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDirCreate(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetWDInfo(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetFCBInfo(paramBlock: FCBPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetCatInfo(paramBlock: CInfoPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetCatInfo(paramBlock: CInfoPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBAllocContig(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBLockRange(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBUnlockRange(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetVInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHGetVInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHOpen(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHOpenRF(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHOpenDF(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHCreate(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHDelete(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHRename(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHRstFLock(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHSetFLock(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHGetFInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHSetFInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBMakeFSSpec(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHGetVolParms(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHGetLogInInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHGetDirAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHSetDirAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHMapID(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHMapName(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHCopyFile(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHMoveRename(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHOpenDeny(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBHOpenRFDeny(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBExchangeFiles(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBCreateFileIDRef(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBResolveFileIDRef(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBDeleteFileIDRef(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBGetForeignPrivs(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBSetForeignPrivs(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTAddIcon(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTGetIcon(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTGetIconInfo(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTAddAPPL(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTRemoveAPPL(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTGetAPPL(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTSetComment(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTRemoveComment(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTGetComment(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTFlush(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTReset(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTGetInfo(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
FUNCTION PBDTDelete(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
{$IFC OLDROUTINELOCATIONS }
FUNCTION PBOpen(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBClose(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBRead(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
FUNCTION PBWrite(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
{$ENDC}
{$ENDC}
{ $ALIGN RESET}
{ $POP}
{$ENDC} {__FILES__}
IMPLEMENTATION
END.